home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PD Collection CD 1
/
PD Collection CD 1.iso
/
textual
/
agrep
/
Docs
/
README
< prev
next >
Wrap
Text File
|
1991-06-12
|
2KB
|
34 lines
This directory contains version 1.0 of agrep - a tool for
approximate text searches.
The tar file also contains a postscript file of a technical report describing
the algorithm and its implementation (agrep.ps), manual pages
(agrep.1), and the usual copyright statement (COPYRIGHT).
agrep is a tool for text searching with errors.
Its use is similar to egrep (or grep or fgrep), but it is much more
general. It is also usually faster than egrep (but slower than
GNU egrep or any Boyer-Moore type matching).
It is based on an entirely different algorithm.
The two most significant features of agrep that are not supported by
the grep family are
1) the ability to search for approximate patterns;
for example, "agrep -2 homogenos foo" will find homogeneous as well
as any other word that can be obtained from homogenos with at most
2 substitutions, insertions, or deletions.
2) agrep is record oriented rather than just line oriented; a record
is by default a line, but it can be user defined;
for example, "agrep -d '^From ' 'breakdown; arpanet' mbox"
outputs all mail messages (the pattern '^From ' separates mail messages
in a mail file) that contain breakdown message about arpanet.
This is the first version of agrep. Expect some bugs, especially with
complicated patterns and a combination of options.
Please mail bug reports (or any other comments)
to sw@cs.arizona.edu or to udi@cs.arizona.edu.
We would appreciate if users notify us (at the address above)
of any extensions, improvements, or interesting uses of this software.
June 11, 1991.